package com.ct.service.client;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.ct.entity.po.User;

@FeignClient(name = "user-service", contextId = "approval-service-user-client")
public interface UserClient {
    @RequestMapping(value = "/user/getAllUsersByIdList", method = RequestMethod.POST)
    List<User> getAllUsersByIdList(@RequestBody List<String> userIdList);

}
